package com.packet.cheng.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author 张在成
 */
public class DateUtil {

    private  static SimpleDateFormat format=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    public static  String  getCurrentDate(Date date){
        String format = DateUtil.format.format(date);
        return format;
    }

}
